<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Model;

class TemplateRecord extends Model
{
    protected $table = 'template_record';

    protected $guarded = [];

    public function user()
    {
        return $this->hasOne(User::class, 'open_id', 'open_id');
    }
}
